package compiler;

/**
 * @author Karol Stosiek
 * @author Michal Anglart
 */
public class Main {

  /**
   * Main routine. 
   * JKlasy compiler usage: java -jar jklasy filename.jkl
   * The *.jkl extension is purely virtual - the compiler 
   * ignores it.
   *
   * @param args - command line arguments 
   */
  public static void main(String[] args) {
    JKlasyCompiler compiler = new JKlasyCompiler();

    compiler.compile(args);
    
    
    // examples demo
    /*String[][] inputs = 
    {{"./examples/Casts.jkl"},
     {"./examples/Complex.jkl"},
     {"./examples/Factorial.jkl"},
     {"./examples/Fibonacci.jkl"},
     {"./examples/HelloClass.jkl"},
     {"./examples/Math.jkl"},
     {"./examples/Rek.jkl"}};  
 
     for (String[] input : inputs)
     {
        compiler.compile(input);
     }*/
  }

}
